package ce.com.newbluedemo.k2;

import android.app.Activity;
import android.os.Bundle;
import android.os.Message;

import ce.com.newbluedemo.my.K1_Handler;
import ce.com.newbluedemo.my.MyApp;

/**
 * Created by Administrator on 2016/12/26 0026.
 */

public class K2BaseActivity extends Activity implements  K1_Handler.ReceiveBlueDataListen {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        MyApp.getInstance().addBlueListen(this);

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        MyApp.getInstance().romeveBlueListen(this);
    }

    @Override
    public void receiveData(Message message) {

    }
}

